<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/lottery_view_header_credit}
	
	<link href="static/css/xgssc.css" rel="stylesheet" />

	<div class="" style="position:relative;height:100%;">
		<div class="ball_info clear">
			<ul data-bind="foreach:navList">
				<li data-bind="css:$parent.currentNavId()===id?'curr':''"><a href="javascript:;" data-bind="text:name,click:$parent.navClick&&$parent.navClick.bind($data,$index())"></a></li>
			</ul>
		</div>
		
		<div class="con_box clear">
			<div class="content">
				<div class="main_txt shadow">
					<div class="sumBtn_wrap clear">
						<div class="fleft">
							<div class="buyBonus" id="SLIPPER" data-bind="visible:maxKickback()!==0">
								<div class="BonusPercen"><label data-bind="text:utils.toFixed(kickback(),1)">&nbsp;</label>%</div>
								<a href="javascript:;" class="minus" data-bind="click:plus"></a>
								<div class="ranger">
									<div class="ui-widget">
										<span class="ui-handle" style="left: 0;"></span>
									</div>
								</div>
								<a href="javascript:;" class="plus" data-bind="click:minus"></a>
							</div>
							<div class="buyBonus" data-bind="visible:maxKickback()===0">
								<div class="BonusPercen"><label data-bind="text:utils.toFixed(kickback(),1)">&nbsp;</label>%</div>
							</div>
						</div>
					</div>
					<div data-bind="component:scene"></div>
				</div>
			</div>
		</div>
	</div>
	
	<script type="text/html" id="tpl-tema">
		<div class="sumBtn_wrap sumBtn_wrap1">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr" class="w900">
			<div class="main_txt bet-wrap" data-bind="css:['','fast-select'][$root.checkMode()]">
				<div class="txt_section1 clear_fix">
					<div class="s1_nav">
						<ul class="clear" data-bind="foreach:[0,1,2,3,4]">
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="s1_txt clear">
						<ul id="Num49" data-bind="foreach:list1">
							<li data-bind="click:$root.fastSelect">
								<div class="bd clear head-1" data-bind="css:selected()?'selected-item':''">
									<span data-bind='text:N,attr:{title:pname+":"+N},css:"ball ball_"+N'></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane">
										<label data-bind="visible:!$root.checkMode()"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:N!==''" autocomplete="off" /></label>
									</span>
								</div>
							</li>
						</ul>
						<ul>
							<li class="btn_ok">
								<div class="bd clear">
									<span data-bind="visible:$root.checkMode()===0">
										<input type="submit" class="btn btn-green" value="" title="确定" />
										<input type="button" class="btn" data-bind="click:reset" value="" title="取消" />
										<input type="reset" style="display:none;" />
									</span>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<div class="txt_section3 clear_fix">
					<ul data-bind="foreach:list2" class="s1_txt clear">
						<li data-bind="click:$root.fastSelect">
							<div class="bd clear head-1" data-bind="css:selected()?'selected-item':''">
								<span data-bind='text:N,attr:{title:(N==""?"":pname+":"+N)},css:"ball_m "'></span>
								<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
								<span class="amount_pane" data-bind="if:(!!N)">
									<label data-bind="visible:!$root.checkMode()"><input type="text" class="amount" data-bind="textinput:amount,enable:status" autocomplete="off" /></label>
								</span>
							</div>
						</li>
					</ul>
				</div>
				<div class="btn-wrap" data-bind="visible:checkMode()===1">
					<input type="text" data-bind="textinput:fastAmount" class="fast-amount" />
					<input type="submit" class="btn btn-green" value="" title="确定" />
					<input type="button" class="btn" data-bind="click:reset" value="" title="取消" />
				</div>
			</div>
		</form>
		<div class="rightbar">
			<div class="otergamebar"></div>
			<div class="shadow sidebox">
				<div class="title">
					<a href="javascript:;" data-bind="click:quickTpl.bind($data,'tpl-side-quickChecked'),css:quickTpl()==='tpl-side-quickChecked'?'active':''" class="CheckBets"></a><a href="javascript:;" data-bind="click:quickTpl.bind($data,'tpl-side-keybord'),css:quickTpl()==='tpl-side-keybord'?'active':''" class="QuickOrder"></a>
				</div>
				<div data-bind="template:quickTpl"></div>
			</div>
		</div>
	</script>

	<script type="text/html" id="tpl-sebo">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />
			
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt"  data-bind="css:['','fast-select'][$root.checkMode()]">
				<div style="position:relative;" class="s1_nav">
					<ul class="sb_txt clear_fix">
						<li style="width:100%">
							<div class="bd clear head-2">
								<span class="ball_m">项目</span>
								<span class="odds">赔率</span>
								<span class="amount_pane">金额</span>
								<span class="ball_box">号码</span>
							</div>
						</li>
					</ul>
					<i class="nav_bg fl_nav_bg"></i>
					<i class="nav_bg fr_nav_bg"></i>
				</div>
				<ul class="sb_txt clear_fix" data-bind="foreach:list1">
					<li data-bind="click:$root.fastSelect,css:selected()?'selected-item':''" class="head-2">
						<span class="ball_m" data-bind='text:N'></span>
						<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
						<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
						<div class="ball_box" data-bind="foreach:balls">
							<span class="ball" data-bind='text:$data,css:"ball_"+$data'></span>
						</div>
					</li>
				</ul>
				<div class="btn-wrap">
					<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
					<input type="submit" class="btn btn-green" value="" title="确认" />
					<input type="button" class="btn" data-bind="click:reset" value="" title="取消" />
				</div>
			</div>
		</form>
	</script>



	<script type="text/html" id="tpl-texiao">
		<div class="sumBtn_wrap  sumBtn_wrap1 rightM0">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt" data-bind="css:['','fast-select'][$root.checkMode()]">
				<div class="main_txt tx_txt clear_fix">
					<div class="tx_txt1 s1_nav">
						<ul class="clear" data-bind="foreach:[0,1]">
							<li>
								<div class="clear bd head-2">
									<span class="ball_m">生肖</span>
									<span class="odds">赔率</span>
									<span class="amount_pane" data-bind="text:['金额',' '][$root.checkMode()]">&nbsp;</span>
									<span class="ball_box">号码</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1">
						<ul data-bind="foreach:list1" class="clear s1_txt">
							<li data-bind="click:$root.fastSelect">
								<div class="bd clear head-2" data-bind="css:selected()?'selected-item':''">
									<span class="ball_m" data-bind="text:N,attr:{title:pname+':'+N}"></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
									<div class="ball_box" data-bind='foreach:balls'>
										<span class="ball" data-bind='text:$data,css:"ball_"+$data'></span>
									</div>
								</div>
							</li>
						</ul>
					</div>
					<div class="btn-wrap">
						<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
						<input type="submit" class="btn btn-green" value="" title="确认" />
						<input type="reset" data-bind="click:reset" class="btn" value="" title="取消" />
					</div>
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-zhengma">
		<div class="sumBtn_wrap sumBtn_wrap1">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr" class="w900">
			<div class="main_txt" data-bind="css:['','fast-select'][$root.checkMode()]">
				<div class="main_nav clear" data-bind="if:isZMT,visible:isZMT">
					<div data-bind="foreach:childNav">
						<input type="button" data-bind="value:pname,click:$parent.childNavClick,css:$index()===0?'active':''" />
					</div>
				</div>
				<div class="txt_section1 clear_fix">
					<div class="s1_nav clear_fix">
						<ul class="clear" data-bind="foreach:[0,1,2,3,4]">
							<li>
								<div class="clear bd head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003" data-bind="text:['金额',' '][$root.checkMode()]">金额</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="s1_txt clear">
						<ul id="Num49" data-bind="foreach:list1">
							<li data-bind="click:$root.fastSelect">
								<div class="bd clear head-1" data-bind="css:selected()?'selected-item':''">
									<span data-bind='text:N,attr:{title:pname+":"+N},css:"ball ball_"+N'></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
								</div>
							</li>
						</ul>
						<ul>
							<li class="btn_ok">
								<div class="bd clear">
									<span data-bind="visible:checkMode()===0">
										<input type="submit" class="btn btn-green" value="" title="确定" />
										<input type="reset" data-bind="click:reset" class="btn" value="" title="清空" />
									</span>
								</div>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="btn-wrap" data-bind="visible:checkMode()===1">
				<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
				<input type="submit" class="btn btn-green" value="" title="确认" />
				<input type="reset" data-bind="click:reset" class="btn" value="" title="取消" />
			</div>
		</form>
		<div class="rightbar">
			<div class="otergamebar"></div>
			<div class="shadow sidebox">
				<div class="title">
					<a href="javascript:;" data-bind="click:quickTpl.bind($data,'tpl-side-quickChecked'),css:quickTpl()==='tpl-side-quickChecked'?'active':''" class="CheckBets">快速投注</a><a href="javascript:;" data-bind="click:quickTpl.bind($data,'tpl-side-keybord'),css:quickTpl()==='tpl-side-keybord'?'active':''" class="QuickOrder">键盘投注</a>
				</div>
				<div data-bind="template:quickTpl"></div>
			</div>
		</div>
	</script>


	<script type="text/html" id="tpl-zm1-6">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt zm16_txt" data-bind="css:['','fast-select'][$root.checkMode()]">
				<div class="txt_section3 clear_fix">
					<div class="zm16_nav">
						<ul class="clear">
							<li><span>正码一</span></li>
							<li><span>正码二</span></li>
							<li><span>正码三</span></li>
							<li><span>正码四</span></li>
							<li><span>正码五</span></li>
							<li><span>正码六</span></li>
						</ul>
					</div>
					<div class="s1_nav clear_fix">
						<ul class="clear" data-bind="foreach:[0,1,2,3,4,5]">
							<li>
								<div class="clear bd head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003" data-bind="text:['金额',' '][$root.checkMode()]">金额</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<ul data-bind="foreach:list1" class="s1_txt clear">
						<li data-bind="click:$root.fastSelect">
							<div class="bd clear head-1" data-bind="css:selected()?'selected-item':''">
								<span data-bind='text:N,attr:{title:pname+":"+N},css:"ball_m ball_"+N'></span>
								<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
								<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
							</div>
						</li>
					</ul>
				</div>
				<div class="btn-wrap">
					<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
					<input type="submit" class="btn btn-green" value="" title="清空" />
					<input type="reset" data-bind="click:reset" class="btn" value="" title="取消">
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-lianma">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<div class="main_nav clear">
			<input type="button" data-bind="click:changeMode.bind($data,1),css:currentMode()===1?'active':''" value="单选/复式">
			<input type="button" data-bind="click:changeMode.bind($data,2),css:currentMode()===2?'active':''" value="胆拖">
			<input type="button" data-bind="click:changeMode.bind($data,3),css:currentMode()===3?'active':''" value="生肖对碰">
			<input type="button" data-bind="click:changeMode.bind($data,4),css:currentMode()===4?'active':''" value="尾数对碰">
			<input type="button" data-bind="click:changeMode.bind($data,5),css:currentMode()===5?'active':''" value="混合对碰">
		   
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt bz_txt">
				<div class="txt_section1 clear_fix" data-bind="if:/^1|2$/.test(currentMode())">
					<div class="s1_nav">
						<ul class="clear" data-bind="foreach:[0,1,2,3,4]">
							<li>
								<div class="clear bd">
									<span class="border_001">号码</span>
									<span class="border_003">赔率</span>
									<span class="border_002">勾选</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="s1_txt clear">
						<ul data-bind="foreach:list1">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'ck-'+$index()}">
									<span data-bind='text:N,attr:{title:pname+":"+N},css:"ball ball_"+N'></span>
									<span style="padding:0;" class="amount_pane txt-red" data-bind="text:$parent.computedOdds(odds,$data.odds2),css:$root.setOddsCss(odds)"></span>
									<span class="odds" data-bind=""><input type="checkbox" style="width:auto;margin-top:11px;" data-bind="value:$data,checked:$parent.storeChecked,enable:status,attr:{id:'ck-'+$index()}" /></span>
								</label>
							</li>
						</ul>
						<ul>
							<li>
								<div class="bd clear">
									<span class="border_001"></span>
									<span style="padding:0;" class="amount_pane txt-red "></span>
									<span class="odds"></span>
								</div>
							</li>
						</ul>
					</div>
				</div>

				
				<div class="main_txt tx_txt clear_fix" data-bind="if:/^3|5$/.test(currentMode())">
					<div class="tx_txt1 s1_nav">
						<ul data-bind="foreach:[0,1]">
							<li>
								<div class="clear bd">
									<span class="ball_m">生肖</span>
									<span class="odds">赔率</span>
									<span class="amount_pane">勾选</span>
									<span class="ball_box">号码</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1">
						<ul data-bind="foreach:shengxiao" class="clear s1_txt">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'cka-'+$index()}">
									<span class="ball_m" data-bind="text:name"></span>
									<span class="odds" data-bind="text:$parent.getMinOdds(origin)"></span>
									<span class="amount_pane"><input type="checkbox" data-bind="value:$data,checked:$parent.storeChecked,disable:status,attr:{id:'cka-'+$index()}" style="margin-top:6px" /></span>
									<div class="ball_box" data-bind='foreach:balls'>
										<span data-bind='text:$data,css:"ball ball_"+$data'></span>
									</div>
								</label>
							</li>
						</ul>
					</div>
				</div>

				
				<div class="main_txt tx_txt clear_fix" data-bind="if:/^4|5$/.test(currentMode())">
					<div class="tx_txt1 s1_nav">
						<ul data-bind="foreach:[0,1]">
							<li>
								<div class="clear bd">
									<span class="ball_m">尾数</span>
									<span class="odds">赔率</span>
									<span class="amount_pane">勾选</span>
									<span class="ball_box">号码</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1">
						<ul data-bind="foreach:weishu" class="clear s1_txt">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'ckb-'+$index()}">
									<span class="ball_m" data-bind="text:name"></span>
									<span class="odds" data-bind="text:$parent.getMinOdds(origin)"></span>
									<span class="amount_pane"><input type="checkbox" data-bind="value:$data,checked:$parent.storeChecked,disable:status,attr:{id:'ckb-'+$index()}" style="margin-top:6px" /></span>
									<div class="ball_box" data-bind='foreach:balls'>
										<span data-bind='text:$data,css:"ball ball_"+$data'></span>
									</div>
								</label>
							</li>
						</ul>
					</div>
				</div>

				<div class="lm_bom clear_fix">
					<div style="width:50px;float:left;line-height:25px;">类别</div>
					<div class="bz_nav" data-bind="foreach:childNav">
						<input type="button" data-bind="value:pname,click:$parent.tabClick,css:$index()===0?'txt-red':''" />
					</div>
					<div class="last">
						<span>金额</span>
						<input type="text" class="sum" data-bind="textinput:amount" autocomplete="off" />
						<input type="submit" class="btn btn-green" value="" title="确定" />
						<input type="button" data-bind="click:reset" class="btn" value="" title="取消" />
					</div>
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-yixiao">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt" data-bind="css:['','fast-select'][$root.checkMode()]">
				<div class="main_txt tx_txt clear_fix">
					<div class="tx_txt1 s1_nav">
						<ul class="clear" data-bind="foreach:[0,1]">
							<li>
								<div class="clear bd head-2">
									<span class="ball_m" data-bind="text:$parent.list2().length>0?'生肖':'尾数'"></span>
									<span class="odds">赔率</span>
									<span class="amount_pane" data-bind="text:['金额',' '][$root.checkMode()]">金额</span>
									<span class="ball_box">号码</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1 clear shadow">
						<ul data-bind="foreach:list1" class="s1_txt clear">
							<li data-bind="click:$root.fastSelect">
								<div class="bd clear head-2" data-bind="css:selected()?'selected-item':''">
									<span class="ball_m" data-bind="text:N,attr:{title:pname+':'+N}"></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
									<div class="ball_box" data-bind='foreach:balls'>
										<span data-bind='text:$data,css:"ball ball_"+$data'></span>
									</div>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<!-- ko if:list2().length>0 -->
				<div style="font-size:14px; font-weight:bold;" class="second-Nav">七色波</div>
				<div class="main_txt tx_txt clear_fix shadow">
					<div class="tx_txt1 s1_nav">
						<ul class="clear">
							<li class="">
								<div class="bd clear head-2">
									<span class="ball_m">名称</span>
									<span class="odds">赔率</span>
									<span class="amount_pane" data-bind="text:['金额',' '][checkMode()]">金额</span>
									<span class="ball_box"></span><i></i>
								</div>
							</li>
							<li class="">
								<div class="bd clear head-2">
									<span class="ball_m">名称</span>
									<span class="odds">赔率</span>
									<span class="amount_pane" data-bind="text:['金额',' '][checkMode()]">金额</span>
									<span class="ball_box"></span>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1 clear">
						<ul data-bind="foreach:list2" class="s1_txt clear">
							<li data-bind="click:$root.fastSelect">
								<div class="bd clear" data-bind="css:selected()?'selected-item':''">
									<span class="ball_m" data-bind="text:N,attr:{title:pname+':'+N}"></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane"><input type="text" class="amount" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></span>
									<div class="ball_box"></div>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<!-- /ko -->
				<div class="btn-wrap">
					<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
					<input type="submit" class="btn btn-green" value="" title="确认" />
					<input type="reset" data-bind="click:reset" class="btn" value="" title="取消" />
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-hexiao">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt">
				<div class="main_txt hx_txt clear_fix">
					<div class="hx_nav clear_fix">
						<div data-bind="foreach:buttons" style="float:left">
							<span><input type="button" data-bind="value:name,click:$parent.quickCheck,css:$parent.isAllowQuickCheck()&&!$data.disable?'':'disabled'" /></span>
						</div>
						<div style="float:left;padding-left:2em;" class="main_nav" data-bind="if:isShowMode">
							<input type="button" data-bind="click:currentMode.bind($data,1),css:currentMode()===1?'active':''" value="单选/复式" class="active">
							<input type="button" data-bind="click:currentMode.bind($data,2),css:currentMode()===2?'active':''" value="胆拖">
						</div>
					</div>
					<div class="tx_txt1 clear_fix s1_nav">
						<ul class="clear">
							<li>
								<div class="clear bd">
									<span class="ball_m">生肖</span>
									<span class="ball_box">号码</span>
									<span class="amount_pane">勾选</span><i></i>
								</div>
							</li>
							<li>
								<div class="clear bd">
									<span class="ball_m">生肖</span>
									<span class="ball_box">号码</span>
									<span class="amount_pane">勾选</span>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1 clear_fix shadow">
						<ul data-bind="foreach:shengxiao" class="s1_txt clear">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'ck-'+$index()}">
									<span class="ball_m" data-bind="text:Name"></span>
									<span class="ball_box" data-bind='foreach:balls'>
										<span data-bind='text:$data,css:"ball ball_"+$data'></span>
									</span>
									<span class="amount_pane" data-bind="css:klass"><input type="checkbox" style="width:auto;margin-top:5px;" data-bind="enable:status,value:$data,checked:$parent.checkedZodiac,attr:{id:'ck-'+$index()}" /></span>
								</label>
							</li>
						</ul>
					</div>
					<div class="hx_txt3 clear_fix shadow">
						<div class="combo_zodiac">
							<ul data-bind="foreach:list1">
								<li>
									<div class="bd clear">
										<div class="cz_title" data-bind="text:N"></div>
										<!-- ko foreach:C -->
										<div class="cz_1" data-bind="css:'cz_'+($index()+1)">
											<div class="cz_3"><input type="radio" name="hexiao" data-bind="attr:{id:['a',$parentContext.$index(),$index()].join('')},checked:$parents[1].currentPlayItem,value:$data" /><label data-bind="text:name,attr:{'for':['a',$parentContext.$index(),$index()].join('')},enable:status"></label></div>
											<div class="cz_4" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></div>
										</div>
										<!-- /ko -->
									</div>
								</li>
							</ul>
							<div class="cz_settle">
								<div class="czs_1">下注金额</div>
								<div class="czs_2"><input type="text" data-bind="textinput:amount" autocomplete="off" /></div>
								<div class="czs_3"><input type="submit" class="btn btn-green" value="" title="确定" /><input type="reset" class="btn" data-bind="click:reset" value="" title="取消" /></div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-zixuanbuzhong">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt bz_txt">
				<div class="txt_section1 clear_fix">
					<div class="s1_nav">
						<ul class="clear" data-bind="foreach:[0,1,2,3,4]">
							<li>
								<div class="clear bd">
									<span class="border_001">号码</span>
									<span class="border_003">赔率</span>
									<span class="border_002">勾选</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="s1_txt clear">
						<ul data-bind="foreach:list1">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'ck-'+$index()}">
									<span data-bind='text:N,attr:{title:pname+":"+N},css:"ball ball_"+N'></span>
									<span style="padding:0;" class="amount_pane txt-red" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="odds" data-bind=""><input type="checkbox" style="width:auto;margin-top:11px;" data-bind="value:$data,checked:$parent.storeChecked,enable:status,attr:{id:'ck-'+$index()}" /></span>
								</label>
							</li>
						</ul>
						<ul>
							<li>
								<div class="bd">
									<span class="ball" style="border-right:none;background:none;"></span>
								</div>
							</li>
						</ul>
					</div>
					<div class="lm_bom">
						<div class="bz_nav" data-bind="foreach:childNav">
							<input type="button" data-bind="value:pname,click:$parent.tabClick,css:$index()===0?'txt-red':''" />
						</div>
						<div class="last">
							<span>金额</span>
							<input type="text" class="txt_input sum" data-bind="textinput:amount" autocomplete="off" />
							<input type="submit" class="btn btn-green" value="" title="确定" />
							<input type="reset" class="btn" data-bind="click:reset" value="" title="取消" />
						</div>
					</div>
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-lianxiao">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<div class="main_nav clear">
			<input type="button" data-bind="click:currentMode.bind($data,1),css:currentMode()===1?'active':''" value="单选/复式">
			<input type="button" data-bind="click:currentMode.bind($data,2),css:currentMode()===2?'active':''" value="胆拖">
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="main_txt">
				<div class="main_txt tx_txt clear_fix">
					<div class="tx_txt1 s1_nav">
						<ul data-bind="foreach:[0,1]">
							<li>
								<div class="clear bd">
									<span class="ball_m" data-bind="text:$parent.headerName">&nbsp;</span>
									<span class="odds">赔率</span>
									<span class="amount_pane">勾选</span>
									<span class="ball_box">号码</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="tx_txt1">
						<ul data-bind="foreach:list1" class="clear s1_txt">
							<li>
								<label class="bd clear display-block" data-bind="attr:{'for':'ck-'+$index()}">
									<span class="ball_m" data-bind="text:N,attr:{title:pname+':'+N}"></span>
									<span class="odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)"></span>
									<span class="amount_pane"><input type="checkbox" data-bind="value:$data,checked:$parent.storeChecked,enable:status,attr:{id:'ck-'+$index()}" style="margin-top:6px" /></span>
									<div class="ball_box" data-bind='foreach:balls'>
										<span data-bind='text:$data,css:"ball ball_"+$data'></span>
									</div>
								</label>
							</li>
						</ul>
					</div>
					<div class="lm_bom clear">
						<div class="lx_nav" data-bind="foreach:childNav">
							<input type="button" data-bind="value:N,click:$parent.tabClick,css:$index()===0?'active':''" />
						</div>
						<div class="last">
							<span>金额</span> <input type="text" class="sum" data-bind="textinput:amount" autocomplete="off" />
							<input type="submit" value="" title="确定" class="btn btn-green" />
							<input type="reset" data-bind="click:reset" value="" title="取消" class="btn" />
						</div>
					</div>
				</div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-longhudou">
		<div class="sumBtn_wrap sumBtn_wrap1 rightM0">
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />        
		</div>
		<form data-bind="submit:buildOrders,selectAmount:quickAmountArr">
			<div class="toradora toradora_bar toradora-six" data-bind="css:['','fast-select'][$root.checkMode()]">
				<ul class="clear_fix" data-bind="foreach:list1">
					<li data-bind="css:$parent.margin($index())">
						<div class="t-head" data-bind="text:N"></div>
						<div class="t-box" data-bind="foreach:C">
							<div class="t-item" data-bind="click:$root.fastSelect,css:selected()?'selected-item':''">
								<div class="t-name"><span data-bind='text:N,attr:{"class":$index()==0?"txt-red":"txt-blue"}'></span><span class="t-odds" data-bind="text:$root.displayOdds(odds),css:$root.setOddsCss(odds)">&nbsp;</span></div>
								<div class="t-input"><input type="text" data-bind="textinput:amount,enable:status,visible:$root.checkMode()===0" autocomplete="off" /></div>
							</div>
						</div>
					</li>
				</ul>
				<i class="nav_bg fl_nav_bg"></i>
				<div class="toradora_btn">
					<input type="text" data-bind="textinput:fastAmount,visible:checkMode()===1" class="fast-amount" />
					<input type="submit" class="btn btn-green" data-bind="" value="" title="确认" />
					<input type="reset" data-bind="click:reset" class="btn" value="" title="取消" />
				</div>
				<i></i>
			</div>
		</form>
		<div class="waybill-box-1">
			<div class="clear waybill-tab " id="WAYBILL-NAV">
				<dl data-bind="foreach:waybillSub2">
					<dd><a href="javascript:;" data-bind="text:name,click:$parent.waybillChecked.bind($data,$index()),css:$parent.waybillSelect2()===$data.site?'active':''">&nbsp;</a></dd>
				</dl>
			</div>
			<div id="WAYBILL-BODY" class="waybill clear"></div>
		</div>
				
	</script>


	<script type="text/html" id="tpl-side-quickChecked">
		<form data-bind="submit:quickSub1,selectAmount:quickAmountArr">
			<div class="quick-bet">
				<div class="clear">
					<ul data-bind="foreach:_list1,click:quickCheck">
						<li><input class="btn-1" type="button" data-bind="value:name,css:(status()?'btn-checked':'')+' ball-'+name" /></li>
					</ul>
				</div>
				<div class="clear">
					<ul data-bind="foreach:_list2,click:quickCheck">
						<li><input class="btn-2" type="button" data-bind="value:name,css:status()?'btn-checked':''" /></li>
					</ul>
				</div>
				<div class="clear">
					<ul data-bind="foreach:_list3,click:quickCheck">
						<li><input class="btn-3" type="button" data-bind="value:name,css:status()?'btn-checked':''" /></li>
					</ul>
				</div>
				<div class="clear">
					<ul data-bind="foreach:_list4,click:quickCheck">
						<li><input class="btn-4" type="button" data-bind="value:name,css:color+(status()?'btn-checked ':'')" /></li>
					</ul>
				</div>
				<div class="sum"><span>金额:</span><input type="text" class="sum-txt" data-bind="textinput:quickAmount" autocomplete="off" /><input type="submit" class="sum-btn" value="" /></div>
				<div><textarea disabled="disabled" data-bind="value:quickCheckedNums"></textarea></div>
				<div class="slct-btn"><input type="reset" value="" class="btn Reset" data-bind="click:quickReset" /><input type="button" value="" class="btn SlctAll" data-bind="click:quickCheckAll" /></div>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-side-keybord">
		<form data-bind="submit:quickSub2">
			<div class="quick-bet">
				<p>输入下单文字：</p>
				<div><textarea rows="10" class="quickTextarea" data-bind="textinput:quickTextarea"></textarea></div>
				<div class="slct-btn"><input type="submit" class="btn Sub" value="" /><input type="reset" class="btn Cancel" value=" " /></div>
				<p>格式：号码=金额，以空格分开每一笔<br />例如：【3=188 26=280】 代表特码3号188元 特码26号280元</p>
			</div>
		</form>
	</script>


	<script type="text/html" id="tpl-orderlist">
		<div class="betorder-box">
			<div class="bb-list">
				<table>
					<thead>
						<tr>
							<th>内容</th>
							<th>赔率</th>
							<th>下注金额</th>
						</tr>
					</thead>
					<tbody data-bind="foreach:datalist">
						<tr>
							<td data-bind="text:[pname,N].join('：')"></td>
							<td data-bind="text:odds"></td>
							<td data-bind="text:amount"></td>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="foot-total">共 <b class="redtext" data-bind="text:datalist.length">&nbsp;</b> 注，合计下注金额 <b data-bind="text:totalAmount" class="redtext">&nbsp;</b><label for="ck-odds-latest" style="float:right"><input type="checkbox" id="ck-odds-latest" data-bind="checked:force" /> 按最新赔率提交</label></div>
		</div>
	</script>
	
	<div style="display:none;">
		<div class="sumBtn_wrap sumBtn_wrap1">
			<div class="sumBtn_info">
				<span>娱乐场</span><input type="button" data-bind="" class="btn_red" value="切换">
				<span>当前限红：<label class="redtext">5</label>元  至  <label class="redtext">5000</label>元</span>
			</div>
			<input type="button" data-bind="click:checkMode.bind($data,0),css:checkMode()===0?'active':''" class="btn_red" value="一般">
			<input type="button" data-bind="click:checkMode.bind($data,1),css:checkMode()===1?'active':''" class="btn_red" value="快捷">
			<input type="button" class="btn_red btn_red_bg" data-bind="click:customSelectAmountEvent" value="快选金额" />
		</div>
		<form>
			<div class="main_txt bet-wrap">
				<div class="txt_section1 txt_section4 clear_fix">
					<div class="s1_nav">
						<ul class="clear">
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>
					<div class="s1_txt clear">
						<ul>
							<li>
								<div class="bd clear head-1">
									<span title="特码:1" class="ball ball_1">1</span>
									<span class="odds">12.25</span>
									<span class="amount_pane">
										<label><input type="text" class="amount" autocomplete="off" /></label>
									</span>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span title="特码:1" class="ball ball_1">1</span>
									<span class="odds">12.25</span>
									<span class="amount_pane">
										<label><input type="text" class="amount" autocomplete="off" /></label>
									</span>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span title="特码:1" class="ball ball_1">1</span>
									<span class="odds">12.25</span>
									<span class="amount_pane">
										<label><input type="text" class="amount" autocomplete="off" /></label>
									</span>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span title="特码:1" class="ball ball_1">1</span>
									<span class="odds">12.25</span>
									<span class="amount_pane">
										<label><input type="text" class="amount" autocomplete="off" /></label>
									</span>
								</div>
							</li>
						</ul>
					</div>
				</div>
				<div class="txt_section5">
					<div class="dist-table">
						<span class="ball_m">特码包三</span>
						<span class="odds">3.50</span>
						<div class="dist-select">
							<div class="gameSelect">
								<span class="ball">12</span>
								<select>
									<option>1</option>
								</select>
							</div>
							<div class="gameSelect">
								<span class="ball">12</span>
								<select>
									<option>1</option>
								</select>
							</div>
							<div class="gameSelect">
								<span class="ball">12</span>
								<select>
									<option>1</option>
								</select>
							</div>
							<span class="amount_pane"><input type="text" class="int-text" /></span>
						</div>
					</div>
					<div class="btn_ok">
						<div class="bd clear">
							<span data-bind="visible:$root.checkMode()===0">
								<input type="submit" class="btn btn-green" value="" title="确定" />
								<input type="button" class="btn" data-bind="click:reset" value="" title="取消" />
								<input type="reset" style="display:none;" />
							</span>
						</div>
					</div>
				</div>
				<div class="txt_section3 clear_fix">
					<div class="s1_nav">
						<ul class="clear">
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
							<li>
								<div class="bd clear head-1">
									<span class="border_001">号码</span>
									<span class="border_002">赔率</span>
									<span class="border_003">金额</span><i></i>
								</div>
							</li>
						</ul>
						<i class="nav_bg fl_nav_bg"></i>
						<i class="nav_bg fr_nav_bg"></i>
					</div>

					<ul class="s1_txt clear">
						<li>
							<div class="bd clear head-1">
								<span title="特合大小:合大" class="ball_m">合大</span>
								<span class="odds">0</span>
								<span class="amount_pane">
									<label><input type="text" class="amount" autocomplete="off"></label>
								</span>
							</div>
						</li>
					</ul>
				</div>
				<div class="btn-wrap" data-bind="visible:checkMode()===1">
					<input type="text" data-bind="textinput:fastAmount" class="fast-amount" />
					<input type="submit" class="btn btn-green" value="" title="确定" />
					<input type="button" class="btn" data-bind="click:reset" value="" title="取消" />
				</div>
			</div>
		</form>
	</div>
	
	<script>
		var ballData={
			"red" : [1, 2, 7, 8, 12, 13, 18, 19, 23, 24, 29, 30, 34, 35, 40, 45, 46],
			"blue" : [3, 4, 9, 10, 14, 15, 20, 25, 26, 31, 36, 37, 41, 42, 47, 48],
			"green" : [5, 6, 11, 16, 17, 21, 22, 27, 28, 32, 33, 38, 39, 43, 44, 49],
			"redOdd" : [1, 7, 13, 19, 23, 29, 35, 45],
			"redEven" : [2, 8, 12, 18, 24, 30, 34, 40, 46],
			"redOver" : [29, 30, 34, 35, 40, 45, 46],
			"redUnder" : [1, 2, 7, 8, 12, 13, 18, 19, 23, 24],
			"greenOdd" : [5, 11, 17, 21, 27, 33, 39, 43],
			"greenEven" : [6, 16, 22, 28, 32, 38, 44],
			"greenOver" : [27, 28, 32, 33, 38, 39, 43, 44],
			"greenUnder" : [5, 6, 11, 16, 17, 21, 22],
			"blueOdd" : [3, 9, 15, 25, 31, 37, 41, 47],
			"blueEven" : [4, 10, 14, 20, 26, 36, 42, 48],
			"blueOver" : [25, 26, 31, 36, 37, 41, 42, 47, 48],
			"blueUnder" : [3, 4, 9, 10, 14, 15, 20],
			"odd" : [1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47],
			"even" : [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48],
			"over" : [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48],
			"under" : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24],
			"sumOdd" : [1, 3, 5, 7, 9, 10, 12, 14, 16, 18, 21, 23, 25, 27, 29, 30, 32, 34, 36, 38, 41, 43, 45, 47],
			"sumEven" : [2, 4, 6, 8, 11, 13, 15, 17, 19, 20, 22, 24, 26, 28, 31, 33, 35, 37, 39, 40, 42, 44, 46, 48],
			"beast" : [2,14,26,38,5,17,29,41,6,18,30,42,7,19,31,43,8,20,32,44,10,22,34,46],
			"poultry" : [1,13,25,37,3,15,27,39,4,16,28,40,9,21,33,45,11,23,35,47,12,24,36,48],
			"weiOver" : [5, 6, 7, 8, 9, 15, 16, 17, 18, 19, 25, 26, 27, 28, 29, 35, 36, 37, 38, 39, 45, 46, 47, 48, 49],
			"weiUnder" : [1, 2, 3, 4, 10, 11, 12, 13, 14, 20, 21, 22, 23, 24, 30, 31, 32, 33, 34, 40, 41, 42, 43, 44],
			"teweiOver" : [5, 6, 7, 8, 9, 15, 16, 17, 18, 19, 25, 26, 27, 28, 29, 35, 36, 37, 38, 39, 45, 46, 47, 48],
			"teweiUnder" : [1, 2, 3, 4, 10, 11, 12, 13, 14, 20, 21, 22, 23, 24, 30, 31, 32, 33, 34, 40, 41, 42, 43, 44],
			"heweiOver" : [5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 23, 24, 26, 27, 32, 33, 34, 35, 36, 41, 42, 43, 44, 45],
			"heweiUnder" : [1, 2, 3, 4, 10, 11, 12, 13, 19, 20, 21, 22, 28, 29, 30, 31, 37, 38, 39, 40, 46, 47, 48, 49],
			"tou0" : [1, 2, 3, 4, 5, 6, 7, 8, 9],
			"tou1" : [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
			"tou2" : [20, 21, 22, 23, 24, 25, 26, 27, 28, 29],
			"tou3" : [30, 31, 32, 33, 34, 35, 36, 37, 38, 39],
			"tou4" : [40, 41, 42, 43, 44,45,46,47,48,49],
			"top5" : [1,2,3,4,5],
			"top10" : [1,2,3,4,5,6,7,8,9,10],
			"wei0":[10, 20, 30, 40],
			"wei1" : [1, 11, 21, 31, 41],
			"wei2" : [2, 12, 22, 32, 42],
			"wei3" : [3, 13, 23, 33, 43],
			"wei4" : [4, 14, 24, 34, 44],
			"wei5" : [5, 15, 25, 35, 45],
			"wei6" : [6, 16, 26, 36, 46],
			"wei7" : [7, 17, 27, 37, 47],
			"wei8" : [8, 18, 28, 38, 48],
			"wei9" : [9, 19, 29, 39, 49],
			"rat" : [10,22,34,46],
			"ox" : [9,21,33,45],
			"tiger" : [8,20,32,44],
			"rabbit" : [7,19,31,43],
			"dragon" : [6,18,30,42],
			"snake" : [5,17,29,41],
			"horse" : [4,16,28,40],
			"goat" : [3,15,27,39],
			"monkey" : [2,14,26,38],
			"rooster" : [1,13,25,37,49],
			"dog" : [12,24,36,48],
			"pig" : [11,23,35,47],
			"redBall":[1,2,7,8,12,13,18,19,23,24,29,30,34,35,40,45,46],
			"blueBall":[3,4,9,10,14,15,20,25,26,31,36,37,41,42,47,48],
			"greenBall":[5,6,11,16,17,21,22,27,28,32,33,38,39,43,44,49],
			"overOdd":[25,27,29,31,33,35,37,39,41,43,45,47,49],
			"overEven":[26,28,30,32,34,36,38,40,42,44,46,48],
			"underOdd":[1,3,5,7,9,11,13,15,17,19,21,23],
			"underEven":[2,4,6,8,10,12,14,16,18,20,22,24],
			"dadan":[25,27,29,31,33,35,37,39,41,43,45,47,49],
			"dashuang":[26,28,30,32,34,36,38,40,42,44,46,48],
			"xiaodan":[1,3,5,7,9,11,13,15,17,19,21,23],
			"xiaoshuang":[2,4,6,8,10,12,14,16,18,20,22,24]
		};
		var ChineseZodiac='[{"Id":1474,"Name":"鼠","Key":"Mouse"},{"Id":1475,"Name":"牛","Key":"Cow"},{"Id":1476,"Name":"虎","Key":"Tiger"},{"Id":1477,"Name":"兔","Key":"Rabbit"},{"Id":1478,"Name":"龙","Key":"Dragon"},{"Id":1479,"Name":"蛇","Key":"Snake"},{"Id":1480,"Name":"马","Key":"Horse"},{"Id":1481,"Name":"羊","Key":"Sheep"},{"Id":1482,"Name":"猴","Key":"Monkey"},{"Id":1483,"Name":"鸡","Key":"Chicken"},{"Id":1484,"Name":"狗","Key":"Dog"},{"Id":1485,"Name":"猪","Key":"Pig"}]';
		var PoultryAndBeast='False'==='True';
		var OddAndEven='False'==='True';
	</script>

{template index/lottery_view_footer_credit}